package com.company.cloud.acct.constant;

import com.company.cloud.common.constant.BaseCodeEnum;

public class AcctCashConfig {


    /**最小提现金额分类(全部/指定)*/
    public enum CashFundType implements BaseCodeEnum{
        ALL("1","全部"),
        APPOINT("2","指定"),
        ;
        private String code;
        private String msg;
        CashFundType(String code, String msg) {
            this.code = code;
            this.msg = msg;
        }
        @Override
        public String getCode() {return code;}
        @Override
        public String getMsg() {return msg;}
    }

    /**时间间隔分类(月/年)*/
    public enum FreeTimeIntervalType implements BaseCodeEnum {
        MONTH("month","自然月"),
        YEAR("year","自然年"),
        LONG_TERM("long_term","长期"),
        ;
        private String code;
        private String msg;
        FreeTimeIntervalType(String code, String msg) {
            this.code = code;
            this.msg = msg;
        }
        @Override
        public String getCode() {return code;}
        @Override
        public String getMsg() {return msg;}
    }

    /**提现状态*/
    public enum AccountState implements BaseCodeEnum {
        APPLY("1","提现中"),
        SUCCESS("2","提现成功"),
        FAIL("3","提现失败")
        ;
        private String code;
        private String msg;
        AccountState(String code, String msg) {
            this.code = code;
            this.msg = msg;
        }
        @Override
        public String getCode() {return code;}
        @Override
        public String getMsg() {return msg;}
    }

}
